<template>
	<view class="contain-body">
		<view class="">
			<view class="flexCloum" v-if="paySuccess">
				<image src="/static/suss.png" mode="" class=""></image>
				<text  class="trueTxt">支付成功</text>
				<text class="greyTxt">可在个人中心"我的订单"查看</text>
			</view>
			<view class="flexCloum" v-else>
				<image src="/static/false.png" mode="" class=""></image>
				<text  class="trueTxt2">支付失败</text>
				<text class="greyTxt">抱歉，订单支付失败</text>
			</view>
		</view>
		<view class="flexCloum">
			<button class="order-btn">{{paySuccess?'查看订单':'重新支付'}}</button>
			<button class="return">返回首页</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				paySuccess:true,
			};
		}
	}
</script>

<style lang="less">
	.contain-body{
		display: flex;
		flex-direction: column;
		justify-content: space-around;
		align-items: center;
	}
	.flexCloum {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	.trueTxt{
		font-size: 17px;
		font-weight: bold;
	}
	.trueTxt2{
		font-size: 17px;
		font-weight: bold;
		color: #ff0000;
	}
	image{
		width: 70px;
		height: 70px;
		margin-bottom: 10px;
	}
	.greyTxt{
		font-size: 12px;
		color: #afafaf;
	}
	.order-btn {
		background-color: #FF8B07;
		color: #fff;
		font-size: 14px;
		border-radius: 36px;
		height: 32px;
		line-height: 32px;
		text-align: center;
		 
		width: 150px;
		margin-bottom: 10px;
	}
	.return{
		background-color: #fff;
		color: #333;
		font-size: 14px;
		border-radius: 36px;
		height: 32px;
		line-height: 32px;
		text-align: center;
		 border:1px solid  #c9c9c9;
		width: 150px;
	}
</style>
